#pragma once

#include <QProcess>
#include <QDir>
#include "pioplugin.h"

class ShareOnDisk : public QObject, PioPlugin
{
    Q_OBJECT
    Q_INTERFACES(PioPlugin)

public:
    ShareOnDisk(QObject * parent = 0);
    ~ShareOnDisk();
    void setup(PioCore * core);
    QStringList licenseInfo();

private slots:
    void shareSelection(bool share);
    void clear();

private:
    QStringList m_files;
    PioCore * m_core;
    QAction * m_action;
    QString m_path;
};

